package com.monkey.demo.entity;

import java.util.Date;
import java.io.Serializable;

/**
 * (SysUser)实体类
 *
 * @author makejava
 * @since 2023-11-25 22:23:58
 */
public class SysUser implements Serializable {
    private static final long serialVersionUID = 751328350182546119L;

    @Override
    public String toString() {
        return "SysUser{" +
                "id=" + id +
                ", userName='" + userName + '\'' +
                ", age=" + age +
                ", creatBy='" + creatBy + '\'' +
                ", creatTime=" + creatTime +
                ", updateBy='" + updateBy + '\'' +
                ", updateTime=" + updateTime +
                ", deleteFlag=" + deleteFlag +
                ", version=" + version +
                '}';
    }

    /**
     * 主键
     */
    private Long id;
    
    private String userName;
    
    private Integer age;
    
    private String creatBy;
    
    private Date creatTime;
    
    private String updateBy;
    
    private Date updateTime;
    
    private Integer deleteFlag;
    
    private Integer version;

    public SysUser() {
    }

    public SysUser(Long id, String userName, Integer age, String creatBy, Date creatTime, String updateBy, Date updateTime, Integer deleteFlag, Integer version) {
        this.id = id;
        this.userName = userName;
        this.age = age;
        this.creatBy = creatBy;
        this.creatTime = creatTime;
        this.updateBy = updateBy;
        this.updateTime = updateTime;
        this.deleteFlag = deleteFlag;
        this.version = version;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getCreatBy() {
        return creatBy;
    }

    public void setCreatBy(String creatBy) {
        this.creatBy = creatBy;
    }

    public Date getCreatTime() {
        return creatTime;
    }

    public void setCreatTime(Date creatTime) {
        this.creatTime = creatTime;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getDeleteFlag() {
        return deleteFlag;
    }

    public void setDeleteFlag(Integer deleteFlag) {
        this.deleteFlag = deleteFlag;
    }

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

}

